package com.woniu.enumdemo;

public class Test {
    public static void main(String[] args) {
//        Week w = Week.TUESDAY;
//        w.getWeekNum();
        for (Week w : Week.values()) {
            System.out.println(w);
        }
        System.out.println("星期天：" + Week.valueOf("SUNDAY"));
    }
}
